# -*- coding:utf-8 -*-
from django.conf.urls import url
from views import GetElOnlineView, GetRegCodeView, GetElInfoView, GetAlarmInfoView, GetMaintenanceInfoView, \
    GetElevatorStatusInfoView, GetElevatorFaultInfoView
urlpatterns = [
    url(r"GetElOnline.json$", GetElOnlineView.as_view(), name="get-online"),
    url(r"Getregcode.json$", GetRegCodeView.as_view(), name="get-register_code"),
    url(r"GetElInfo.json$", GetElInfoView.as_view(), name="get-detail"),
    url(r"GetAlarmInfo.json$", GetAlarmInfoView.as_view(), name="get-alarm"),
    url(r"GetMaintenanceInfo.json$", GetMaintenanceInfoView.as_view(), name="get-maintain"),
    url(r"GetElevatorStatusInfo.json$", GetElevatorStatusInfoView.as_view(), name="get-status"),
    url(r"GetElevatorFaultInfo.json$", GetElevatorFaultInfoView.as_view(), name="get-fault"),
]
